package com.atguigu.service;

import com.atguigu.EnableRobot;
import com.atguigu.prop.RobotProp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.stereotype.Service;

@Service

public class RobotService {
    @Autowired
    private RobotProp robotProp;

public String sayHello() {
    return robotProp.toString();

}
}
